<template>
  <div @click="imageshowClick" class="imageshow">
    <img :src="currentSong.image"/>
  </div>
</template>

<script>
export default {
  name: 'ImageShow',
  props: {
    currentSong: {
      type: Object,
      default: function() {
        return {}
      }
    }
  },
  methods: {
    imageshowClick() {
      this.$emit('Imgclick')
    }
  }
}
</script>

<style>
  .imageshow{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 11;
  }
  .imageshow img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
</style>
